Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preact conversion #18

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Preact conversion #18

wants to merge 3 commits into from

Conversation

mojowen
Copy link
Member

@mojowen mojowen commented Jun 10, 2019

Converting the app to Preact

  • Install Preact

  • Load dom structure via components

  • Progressively load sheets

  • Progressively load maps

  • Progressively load content and insert into dom

  • Map

  • Controls

  • Legends

  • Tests

  • React devtools working and everything

@mojowen mojowen requested a review from noahmanger June 10, 2019 05:59
@@ -4,6 +4,7 @@
"description": "",
"scripts": {
"dev": "parcel index.html",
"dev-local": "LOCAL_DATA=true parcel index.html",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set up to serve sheets data locally

TODO: Add npm command to download a given sheet to local data

initDom(container);
render(<App sheetKey={sheetKey} />, container);

return null;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have been replacing everything after this - initDom is done but need to finish initMap initTable initDetails

@noahmanger
Copy link
Member

Oh man so excited about this. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants